<?php
header("content-type:text/html;charset=utf-8");
date_default_timezone_set('PRC');
session_start();

include 'config.php';
define('PATH',str_replace('\\','/',dirname(__FILE__)));

include 'func.inc.php';


//连接数据库
$link = mysqli_connect(HOST,USER,PWD);

if(!$link) exit(mysql_error);

mysqli_select_db(DB);

mysqli_set_charset(CHAR);
?>
